@import "../../../style/var";
@import "../../../style/rest";

* {
    box-sizing: border-box;
}

body, html {
    height: 100%;
}

body {
    overflow-y: scroll;
}

.lightSpeed-enter-active, .lightSpeed-leave-active, .lightSpeedIn, .lightSpeedOut {
    animation-duration: .1s !important;
    animation-fill-mode: both
}

.fade-enter-active, .fade-leave-active, .fadeIn, .fadeOut {
    animation-duration: .4s !important;
    animation-fill-mode: both
}

.slideLeft-enter-active, .slideLeft-leave-active {
    animation-duration: .4s !important;
    animation-fill-mode: both
}

.wp {
    width: 1200px;
    margin: 0 auto;
    display: block;
}

.ivu-page {
    text-align: center;
    padding: 40px 0;

    li {
        background: linear-gradient(#f9f9f9, #ebebeb);
        box-shadow: 0 1px 3px #ccc;
        margin: 0 7px;
    }

    .ivu-page-item {
        color: #000;
    }

    .ivu-page-item-active {
        background: $main-color;

        a {
            color: #fff !important;
        }
    }
}

.ivu-btn.g-btn {
    background: linear-gradient(to left, #ffa839, #ff8c19);
    border-color: transparent;
    color: #fff;

    &:focus, &:hover, &:active {
        border-color: #ff8627;
        background-color: transparentize(#ffa839, .2);
        color: #fff;
    }

    &.ghost {
        background: transparent;
        color: #ff8c19;
        border: 1px solid #ff8c19;
    }
}

.ivu-btn.red-btn {
    color: #fff;
    background-color: $main-color;
    padding: 0 20px;
    height: 35px;
    line-height: 35px;
    font-size: 14px;

    &:focus, &:hover, &:active {
        border-color: #ad0d1c;
        background-color: transparentize($main-color, .2);
        color: #fff;
    }
}

.news-tab {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;

    li {
        height: 40px;
        line-height: 40px;
        width: 110px;
        text-align: center;
        background-color: $main-color-blue;
        color: #fff;
        font-size: 14px;
        border-right: 1px solid #fff;
        cursor: pointer;

        &.active, &.router-link-exact-active {
            background-color: $main-color;
        }

        &:first-child {
            border-top-left-radius: 5px;
            border-bottom-left-radius: 5px;
        }

        &:last-child {
            border-right: none;
            border-top-right-radius: 5px;
            border-bottom-right-radius: 5px;
        }
    }
}

.banner-img {
    img {
        width: 100%;
        display: block;
        margin-bottom: 20px;
        min-width: 1200px;
    }
}

.detail-html {
    color: #333;
    line-height: 24px;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;

    img {
        max-width: 100%;
        vertical-align: middle;
    }
}

.people-number-wrap {
    color: #000;

    dl {
        border: 1px solid #ebe0b4;
        margin: 0;
        padding: 0;
        width: 450px;
        margin-bottom: 10px;

        dt {
            height: 40px;
            display: flex;
            align-items: center;
            padding-left: 15px;
            background-color: #fff7d8;
            font-size: 16px;
            justify-content: space-between;
            padding-right: 5px;
        }

        dd {
            font-size: 14px;
            display: none;

            .item {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 10px 15px;

                .co {
                    color: #999;
                }
            }
        }
    }
}

.color-999 {
    color: #999;
}

.footprint-list {
    .item {
        padding: 15px 55px;
        border-bottom: 1px dashed #cacaca;
        color: #000;
        font-size: 16px;
        display: flex;
        align-items: center;

        .info {
            font-size: 14px;
            color: #666;
            padding-top: 8px;
        }

        .date-time-box {
            width: 70px;
            text-align: center;
            background-color: #eeeeee;
            font-size: 18px;
            margin-right: 20px;

            .day {
                height: 40px;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .date-text {
                height: 25px;
                line-height: 25px;
                background-color: $main-color;
                color: #fff;
                font-size: 12px;
            }
        }
    }
}

.al-list {
    width: 100%;
    flex-wrap: wrap;

    .item {
        flex: 0 0 280px;
        padding: 5px;
        border: 1px solid #d3d3d3;
        margin-right: 20px;
        margin-bottom: 30px;
        color: #333;

        .img {
            width: 100%;
            height: 190px;
            overflow: hidden;

            img {
                width: 100%;
                display: block;
            }
        }

        .title {
            font-size: 18px;
            padding: 0 5px 10px;
            margin: 0 !important;

            .time {
                color: #666;
                font-size: 14px;
            }
        }

        .desc {
            color: #666;
            font-size: 14px;
            padding: 0 5px;


        }
    }
}


.section-title {
    position: relative;
    margin: 20px auto;
    font-size: 20px;
    height: 22px;
    display: flex;
    align-items: center;
    padding-left: 15px;


    &:after {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        content: '';
        border-left: 3px solid $main-color-blue;
        border-right: 4px solid $main-color;
    }
}
